XSelectInput

Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
  1. int function(Display* display, Window w, long event_mask) XSelectInput;
  2. int XSelectInput(Display* display, Window w, long event_mask)
    version(X11 && !SharedX11)
    extern (C) nothrow @nogc __gshared extern
    int
    XSelectInput

Meta